//package com.huwei.modules.base.repository;
//
//import javax.transaction.Transactional;
//
//import org.springframework.data.jpa.repository.JpaRepository;
//import org.springframework.data.jpa.repository.Modifying;
//import org.springframework.data.jpa.repository.Query;
//
//import com.zcg.module.base.entry.User;
//
//
///**
// * user对象持久化jpa操作对象
// * @author huwei
// */
//public interface JpaUserRepository extends JpaRepository<User, Long> {
//
//	User findOneByUuid(String uuid);
//
//	User findOneById(Long id);
//
//	@Modifying
//	@Transactional
//	@Query(value="update user_info set role = ?2 ,education = ?3 ,marital_status = ?4 ,address = ?5 ,contact_info = ?6 "
//			+ ",alias = ?7 ,info = ?8 where id = ?1"
//			,nativeQuery = true)
//	Integer updateUserInfoById(Long id, String role, String education, String maritalStatus, String address,
//			String contactInfo, String alias, String info);
//	@Modifying
//	@Transactional
//	@Query(value="update user_info set real_name = ?2 ,identity_card = ?3 ,register_type = ?4 where id = ?1"
//			,nativeQuery = true)
//	Integer updateUserIdCardInfoById(Long id, String realName, String idCard, String idType);
//	@Modifying
//	@Transactional
//	@Query(value="update user_info set head_http_url = ?2  where id = ?1"
//			,nativeQuery = true)
//	Integer updateUserHeadById(Long id, String downloadUrl);
//
//	
//}
